package com.dx.user.service;

import com.dx.model.UserInfo;
import com.dx.user.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lzh on 2017/10/20.
 */
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public UserInfo getUserById(String id){
        return userDao.getUserById(id);
    }
}
